<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>品牌管理</title>
     <link rel="stylesheet" href="http://127.0.01/jmshop/Static/bootstrap/css/bootstrap.min.css" />
    <script type="text/javascript" src="http://127.0.01/jmshop/Static/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="http://127.0.01/jmshop/Static/hdjs/hdjs.min.js"></script>
    <link rel="stylesheet" href="http://127.0.01/jmshop/Static/hdjs/hdjs.css" />
    
   
</head>
<body>
<div class="wrap">
    <div class="hd-title-header">品牌修改</div>
    <form action="<?php echo U('Admin/ShopBrand/brand_edit');?>" method="post" class="hd-table hd-table-form hd-form" enctype="multipart/form-data">
        <table class="hd-table hd-table-list">
            <tr>
                <th class="w100">品牌名称</th>
                <td  class="w100">
                    <input type="text" name="bname" class="w200" value="<?php echo $oldData['bname'];?>" /> 
                </td>
                <td>连接名称长度 1 到 20 位</td>
            </tr>
           
            <tr>
                <th class="w100">品牌排序</th>
                <td>
                    <input type="text" name="sort" class="w200" value="<?php echo $oldData['sort'];?>"/>
                </td>
                <td>请填写1-255的整数</td>
            </tr>
            <tr>
                <th class="w100">logo上传</th>
                <td>
                    <input type="file" name="logo" class="w200" value="<?php echo $oldData['logo'];?>" />
                </td>
                <td>上传内容不得为空</td>
            </tr>
            <tr>
                <th class="w100">图标上传</th>
                <td>
                    <input type="file" name="tubiao" class="w200" value="<?php echo $oldData['tubiao'];?>" />
                </td>
                <td>上传内容不得为空</td>
            </tr>
             <tr>
                <th class="w100">是否热门</th>
                <td>
                    是：<input type="radio" name="is_hot" id="" value="1"     <?php if($oldData['is_hot']==1){ ?>checked<?php } ?>/>
                    &nbsp;
                    否: <input type="radio" name="is_hot" id=""  value="0"     <?php if($oldData['is_hot']==0){ ?>checked<?php } ?>/>
                </td>
                <td></td>
            </tr>       
        </table>
        <div class="position-bottom">
            <input type="hidden" name="bid" value="<?php echo $oldData['bid'];?>"/>
            <input type="submit" class="hd-btn hd-btn-success" value="修改"/>
        </div>
    </form>
</div>
</body>
</html>